package hn.cch.neo4j.repository;

import hn.cch.neo4j.entity.Movie;
import org.springframework.data.neo4j.repository.GraphRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

/**
 * @author CCH
 * @version 2018.07.10
 */
@Repository
public interface MovieRepository extends GraphRepository<Movie> {

    Movie findByName(@Param("name") String name);

}
